import http from "./index";

// 获取加密字符串
export const getEncrypt = () => {
    return http.get("authentication/public-key");
};

// 获取验证码
export const getCaptcha = () => {
    return http.get("captcha");
};

// pc用户登录
export const loginByPc = (data, config) => {
    return http.post("authentication/login/pc", data, config);
};
